home *** CD-ROM | disk | FTP | other *** search
- 100 SCREEN@ 0
- 110 CONSOLE 0,25,0
- 120 WIDTH 80,25
- 130 CLS 0
- 140 LINE(0,200)-(639,399),PSET,1,BF
- 150 RV=.5! 'ôºû╛æ╠Æåé┼é╠î⌡é╠æèæ╬æ¼ôx
- 160 WHILE -1 'û│î└âïü[âv
- 170 CLS 4
- 180 INPUT "ôⁿÄ╦èpôxé═";RI 'ôⁿÄ╦èpôxé≡ôⁿù═
- 190 RI = 90 - RI
- 200 RI = RI * 3.1416! / 180 'ôxü¿âëâWâAâôò╧è╖
- 210 R = RV * COS ( RI )
- 220 RI2 = - ATN ( R / SQR ( - R * R + 1 ) ) + 1.5708! 'ïⁿÉ▄îπé╠èpôxé≡îvÄZ
- 230 Y = 0 'ïOÉ╒é≡ò`é¡ïNô_ éxì└òW
- 240 X = 320 + 200 * TAN( 3.1416! / 2 - RI ) 'ïOÉ╒é≡ò`é¡ïNô_ Xì└òW
- 250 WHILE Y < 400
- 260 LINE(X-30,Y)-(X+30,Y),PSET,6
- 270 X = X - COS( RI ) 'ïOÉ╒é╠ê┌ô« Xì└òW
- 280 Y = Y + SIN( RI ) 'ïOÉ╒é╠ê┌ô« Yì└òW
- 290 IF Y > 200 THEN RI = RI2 'ôⁿÄ╦é╡é╜éτïⁿÉ▄é│é╣éΘ
- 300 WEND
- 310 WEND
-